import Vue from 'vue'
import App from './App.vue'
import Vant, { Lazyload } from 'vant'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import router from './router'
import store from './store'

import { Cache } from '@utils'

import 'vant/lib/index.css'
import 'lib-flexible/flexible'

import './style/index.scss'
import 'static/iconfont/iconfont.css'

import { fetchPost, fetchGet } from './axios'

// import Vconsole from 'vconsole'

// const vconsole = new Vconsole()

import './permission'

Vue.config.productionTip = false

Vue.prototype.$fetchPost = fetchPost
Vue.prototype.$fetchGet = fetchGet
Vue.prototype.$imgUrl = 'https://h5.shujingvip.com/'
Vue.use(Vant)
Vue.use(Lazyload)
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
